using System;
using System.Collections.Generic;
using System.Text;

namespace com.flajaxian.AWS
{
    /// <summary>
    /// 
    /// </summary>
    public class CanonicalUserGrantee : Grantee
    {
        private string _id;
        private string _displayName;

        /// <summary>
        /// 
        /// </summary>
        public string ID
        {
            get { return this._id; }
            set { this._id = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string DisplayName
        {
            get { return this._displayName; }
            set { this._displayName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override string ToXml()
        {
            return String.Format(SR.CanonicalUserGranteeXml, this.ID, this.DisplayName);
        }
    }
}
